<?php

/**
 * 直播频道流
 */
Route::get('entity/asset/vlive/vcstreams', ['as'=> 'entity.asset.vlive.vcstreams.index', 'uses' => 'Entity\Asset\Vlive\VcstreamController@index']);
Route::post('entity/asset/vlive/vcstreams', ['as'=> 'entity.asset.vlive.vcstreams.store', 'uses' => 'Entity\Asset\Vlive\VcstreamController@store']);
Route::get('entity/asset/vlive/vcstreams/create', ['as'=> 'entity.asset.vlive.vcstreams.create', 'uses' => 'Entity\Asset\Vlive\VcstreamController@create']);
Route::put('entity/asset/vlive/vcstreams/{vcstreams}', ['as'=> 'entity.asset.vlive.vcstreams.update', 'uses' => 'Entity\Asset\Vlive\VcstreamController@update']);
Route::patch('entity/asset/vlive/vcstreams/{vcstreams}', ['as'=> 'entity.asset.vlive.vcstreams.update', 'uses' => 'Entity\Asset\Vlive\VcstreamController@update']);
Route::delete('entity/asset/vlive/vcstreams/{vcstreams}', ['as'=> 'entity.asset.vlive.vcstreams.destroy', 'uses' => 'Entity\Asset\Vlive\VcstreamController@destroy']);
Route::get('entity/asset/vlive/vcstreams/{vcstreams}', ['as'=> 'entity.asset.vlive.vcstreams.show', 'uses' => 'Entity\Asset\Vlive\VcstreamController@show']);
Route::get('entity/asset/vlive/vcstreams/{vcstreams}/edit', ['as'=> 'entity.asset.vlive.vcstreams.edit', 'uses' => 'Entity\Asset\Vlive\VcstreamController@edit']);

/**
 * 直播添加, 编辑, 删除直播源信息
 */
// 列表
Route::get('entity/asset/vlive/vcstreams/vchan/{vchan_id}', ['as'=> 'entity.asset.vlive.vcstreams.vchan.index', 'uses' => 'Entity\Asset\Vlive\VcstreamController@vchanIndex']);
// 保存
Route::post('entity/asset/vlive/vcstreams/vchan/{vchan_id}', ['as'=> 'entity.asset.vlive.vcstreams.vchan.store', 'uses' => 'Entity\Asset\Vlive\VcstreamController@vchanStore']);
// 新增视图
Route::get('entity/asset/vlive/vcstreams/vchan/{vchan_id}/create', ['as'=> 'entity.asset.vlive.vcstreams.vchan.create', 'uses' => 'Entity\Asset\Vlive\VcstreamController@vchanCreate']);
// 更新
Route::put('entity/asset/vlive/vcstreams/vchan/{vchan_id}/{vcstreams}', ['as'=> 'entity.asset.vlive.vcstreams.vchan.update', 'uses' => 'Entity\Asset\Vlive\VcstreamController@vchanUpdate']);
Route::patch('entity/asset/vlive/vcstreams/vchan/{vchan_id}/{vcstreams}', ['as'=> 'entity.asset.vlive.vcstreams.vchan.update', 'uses' => 'Entity\Asset\Vlive\VcstreamController@vchanUpdate']);
// 删除
Route::delete('entity/asset/vlive/vcstreams/vchan/{vchan_id}/{vcstreams}', ['as'=> 'entity.asset.vlive.vcstreams.vchan.destroy', 'uses' => 'Entity\Asset\Vlive\VcstreamController@vchanDestroy']);
// 编辑视图
Route::get('entity/asset/vlive/vcstreams/vchan/{vchan_id}/{vcstreams}/edit', ['as'=> 'entity.asset.vlive.vcstreams.vchan.edit', 'uses' => 'Entity\Asset\Vlive\VcstreamController@vchanEdit']);
